<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html lang="en">
<head>
<jsp:include page="WEB-INF/pages/common/header.jsp" flush="true"></jsp:include>
</head>

<body class="login-body">

	<div class="container">

		<form class="form-signin" action="j_spring_security_check" method="post">
			<h2 class="form-signin-heading">用户登录</h2>
			<div class="login-wrap">
				<input name="j_username" type="text" class="form-control" placeholder="用户名" autofocus>
				<input name="j_password" type="password" class="form-control" placeholder="密码">
				<label class="checkbox">
					<input name="_spring_security_remember_me" type="checkbox" value="remember-me"> 记住我 <span
					class="pull-right"> <a data-toggle="modal" href="#myModal">
							忘记密码?</a>
				</span>
				</label>
				<button class="btn btn-lg btn-login btn-block" type="submit">登录</button>
				
				<%--
				<p>or you can sign in via social network</p>
				<div class="registration">
					Don't have an account yet? <a class="" href="registration.html">
						Create an account </a>
				</div> --%>
			</div>

			<%-- Modal
			<div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog"
				tabindex="-1" id="myModal" class="modal fade">
				<div class="modal-dialog">
					<div class="modal-content">
						<div class="modal-header">
							<button type="button" class="close" data-dismiss="modal"
								aria-hidden="true">&times;</button>
							<h4 class="modal-title">Forgot Password ?</h4>
						</div>
						<div class="modal-body">
							<p>Enter your e-mail address below to reset your password.</p>
							<input type="text" name="email" placeholder="Email"
								autocomplete="off" class="form-control placeholder-no-fix">

						</div>
						<div class="modal-footer">
							<button data-dismiss="modal" class="btn btn-default"
								type="button">Cancel</button>
							<button class="btn btn-success" type="button">Submit</button>
						</div>
					</div>
				</div>
			</div> --%>

		</form>

	</div>

	<!-- js placed at the end of the document so the pages load faster -->
	<script type="text/javascript" src="${resPath}/assets/data-table/media/js/jquery.js"></script>
	<script type="text/javascript" src="${resPath}/js/bootstrap.min.js"></script>

</body>
</html>
